#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int k = 0;
	int x = 1;
	int y = 2;
	int z = 3;
	if (x < y)
		k = x;
	else
		k = y;
	if (k < z)
		k = k;
	else
		k = z;
	printf("%d", k);
	return 0;
}